package com.stylefeng.guns.modular.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.common.persistence.model.FulltimeTrainPoints;
import com.stylefeng.guns.common.persistence.model.FulltimeTrainRule;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 网络培训积分 服务类
 * </p>
 *
 * @author jondai
 * @since 2017-12-27
 */
public interface IFulltimeTrainRuleService extends IService<FulltimeTrainRule> {
	void empty();
	List<FulltimeTrainRule> selectAll();


	Double integralCal(Double hours, Integer empType);

	void integralCal(FulltimeTrainPoints fulltimeTrainPoints) throws Exception;
	void integralCal(FulltimeTrainPoints fulltimeTrainPoints, Map<Integer,List<FulltimeTrainRule>> map) throws Exception;
}
